package org.nf.shopping.mapper;

import org.apache.ibatis.annotations.Param;
import org.nf.shopping.entity.Admin;

import java.util.List;

/**
 * @Author czl
 * @Date 2024-11-29
 */
public interface AdminMapper {
    List<Admin> listAdmin(@Param("pageSize") Integer pageSize,@Param("pageNum") Integer pageNum,@Param("name") String name);

    void updateAdmin(Admin admin);

    void deloneAdmin(Integer id);

    void addAdmin(Admin admin);

    List<Admin> getAdminList();

}
